/*
 * MIT License
 *
 * Copyright (c) 2023 OrdinaryRoad
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: douyin.proto

// Protobuf Java Version: 3.25.3
package tech.ordinaryroad.live.chat.client.codec.douyin.protobuf;

public interface PreMessageOrBuilder extends
    // @@protoc_insertion_point(interface_extends:PreMessage)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <code>uint32 cmd = 1;</code>
   * @return The cmd.
   */
  int getCmd();

  /**
   * <code>uint32 sequenceId = 2;</code>
   * @return The sequenceId.
   */
  int getSequenceId();

  /**
   * <code>string sdkVersion = 3;</code>
   * @return The sdkVersion.
   */
  java.lang.String getSdkVersion();
  /**
   * <code>string sdkVersion = 3;</code>
   * @return The bytes for sdkVersion.
   */
  com.google.protobuf.ByteString
      getSdkVersionBytes();

  /**
   * <code>string token = 4;</code>
   * @return The token.
   */
  java.lang.String getToken();
  /**
   * <code>string token = 4;</code>
   * @return The bytes for token.
   */
  com.google.protobuf.ByteString
      getTokenBytes();

  /**
   * <code>uint32 refer = 5;</code>
   * @return The refer.
   */
  int getRefer();

  /**
   * <code>uint32 inboxType = 6;</code>
   * @return The inboxType.
   */
  int getInboxType();

  /**
   * <code>string buildNumber = 7;</code>
   * @return The buildNumber.
   */
  java.lang.String getBuildNumber();
  /**
   * <code>string buildNumber = 7;</code>
   * @return The bytes for buildNumber.
   */
  com.google.protobuf.ByteString
      getBuildNumberBytes();

  /**
   * <code>.SendMessageBody sendMessageBody = 8;</code>
   * @return Whether the sendMessageBody field is set.
   */
  boolean hasSendMessageBody();
  /**
   * <code>.SendMessageBody sendMessageBody = 8;</code>
   * @return The sendMessageBody.
   */
  tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.SendMessageBody getSendMessageBody();
  /**
   * <code>.SendMessageBody sendMessageBody = 8;</code>
   */
  tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.SendMessageBodyOrBuilder getSendMessageBodyOrBuilder();

  /**
   * <pre>
   * 字段名待定
   * </pre>
   *
   * <code>string aa = 9;</code>
   * @return The aa.
   */
  java.lang.String getAa();
  /**
   * <pre>
   * 字段名待定
   * </pre>
   *
   * <code>string aa = 9;</code>
   * @return The bytes for aa.
   */
  com.google.protobuf.ByteString
      getAaBytes();

  /**
   * <code>string devicePlatform = 11;</code>
   * @return The devicePlatform.
   */
  java.lang.String getDevicePlatform();
  /**
   * <code>string devicePlatform = 11;</code>
   * @return The bytes for devicePlatform.
   */
  com.google.protobuf.ByteString
      getDevicePlatformBytes();

  /**
   * <code>repeated .HeadersList headers = 15;</code>
   */
  java.util.List<tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.HeadersList> 
      getHeadersList();
  /**
   * <code>repeated .HeadersList headers = 15;</code>
   */
  tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.HeadersList getHeaders(int index);
  /**
   * <code>repeated .HeadersList headers = 15;</code>
   */
  int getHeadersCount();
  /**
   * <code>repeated .HeadersList headers = 15;</code>
   */
  java.util.List<? extends tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.HeadersListOrBuilder> 
      getHeadersOrBuilderList();
  /**
   * <code>repeated .HeadersList headers = 15;</code>
   */
  tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.HeadersListOrBuilder getHeadersOrBuilder(
      int index);

  /**
   * <code>uint32 authType = 18;</code>
   * @return The authType.
   */
  int getAuthType();

  /**
   * <code>string biz = 21;</code>
   * @return The biz.
   */
  java.lang.String getBiz();
  /**
   * <code>string biz = 21;</code>
   * @return The bytes for biz.
   */
  com.google.protobuf.ByteString
      getBizBytes();

  /**
   * <code>string access = 22;</code>
   * @return The access.
   */
  java.lang.String getAccess();
  /**
   * <code>string access = 22;</code>
   * @return The bytes for access.
   */
  com.google.protobuf.ByteString
      getAccessBytes();
}
